package co.edu.udem.common.util;

/**
 * custom exception implementation
 * @author sgranada
 *
 */
public class CustomException extends Exception {

	private static final long serialVersionUID = 1L;

	private String code;
	
	public CustomException(String code, String message){
		super(message);
		this.code = code;
	}

	/**
	 * @return the exception code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code
	 */
	public void setCode(String code) {
		this.code = code;
	}
	
	
}
